/*
 * search_packet.cpp
 *
 *  Created on: 23.06.2013
 *      Author: SpirTanol
 */

#include "packets/search_packet.h"

SearchPacket::SearchPacket()
{
	init();
}

SearchPacket::SearchPacket(const SearchPacket *rhv)
{
	init();
	oData[0] = rhv->oData[0];
	oData[1] = rhv->oData[1];
	oData[2] = rhv->oData[2];
	oData[3] = rhv->oData[3];
}

void SearchPacket::init()
{
	addPart(Part(&oData[R_SCALE], 4, 1));
}
